package metrics_sql

const (
	ContainerInfo = `
from(bucket: "data")
  |> range(start: %v, stop: %v)
  |> filter(fn: (r) => r["_measurement"] == "prometheus_remote_write")
  |> filter(fn: (r) => r["_field"] == "kube_pod_container_info")
  |> filter(fn: (r) => r["container"] == "%v")
  |> filter(fn: (r) => r["namespace"] == "%v")
  |> last()
  |> drop(columns:["_measurement","_field","_value","_start","_stop","_time","host","instance","job","prometheus","prometheus_replica","uid"])
`
)
